<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>js计算器</title>
	</head>
	<body>
		<div>
			<input type="text" size="5" id="num1" value="" />
			<select id="ysf">
				<option value="+">+</option>
				<option value="-">-</option>
				<option value="*">*</option>
				<option value="/">/</option>
				<option value="%">%</option>
			</select>
			<input type="text" size="5" id="num2" value="" />
			<input type="button" id="btn" value="计算" />
		</div>
		<p id="res"></p>
		<script src="js/js计算器.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
